export const setToken = (token)=>{
  // 存储token到localStorage
    localStorage.setItem('token',token)
}
export const getToken = ()=>{
  // 从localStorage获取token
    return localStorage.getItem('token')
}
export const removeToken = ()=>{
  // 从localStorage移除token
    localStorage.removeItem('token')
}